package cn.stylefeng.guns.modular.business.frequency.userawardbase.model.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;

import cn.stylefeng.guns.modular.business.custom.constant.PublicCommon;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * 网点人员提成设置表
 *
 * @author yujie
 * @date 2023/05/09 17:15
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserAwardBaseParam extends BaseParam {

    /**
     * id
     */

    private Long id;

    /**
     * 状态 1.有效 0.无效
     */

    private Integer status;

    /**
     * 制单金额
     */
    @NotNull(message = "制单金额不能为空",groups = {add.class,edit.class})
    private BigDecimal createFee;

    /**
     * 提短金额
     */

    private BigDecimal pickFreeFee;

    /**
     * 提车金额
     */
    @NotNull(message = "提车金额不能为空",groups = {add.class,edit.class})
    private BigDecimal pickFee;

    /**
     * 验车金额
     */

    private BigDecimal verifyFee;

    /**
     * 发运金额
     */
    @NotNull(message = "发运金额不能为空",groups = {add.class,edit.class})
    private BigDecimal transportFee;

    /**
     * 交付金额
     */
   // @NotNull(message = "交付金额不能为空",groups = {add.class,edit.class})
    private BigDecimal deliveryFee;

    /**
     * 签收金额
     */

    private BigDecimal signFee;

    /**
     * 提成类型 1接单数 2毛利点 3路线
     */
    @NotNull(message = "提成类型不能为空",groups = {add.class,edit.class})
    private Integer royaltyType;

    /**
     * 城市code
     */

    private String cityCode;

    /**
     * 租户id
     */

    private Long tenantId;

    /**
     * 部门(网点)id
     */

    private Long siteId;

    //租户网点id
    private Long  batchTenementId;
    //是否是网点 1 是  2 否
    private Integer  isBranch;

    private String name;

    private List<UserAwardBaseParam> userAwardBaseParamList;




}
